import { IConfig } from 'umi'; // ref: https://umijs.org/config/

export default {

  devtool: false,
  // base: '/BUILD_BASE_PATH/',
  base: '/',
  // publicPath: '/BUILD_PUBLIC_URL/',
  publicPath: '/',
  define: {
    'process.env': {
      API_HOST: 'BUILD_API_HOST',
      PLATFORM_VERSION: 'BUILD_PLATFORM_VERSION',
      CLIENT_ID: 'BUILD_CLIENT_ID',
      BUILD_ENV_ID: 'BUILD_BUILD_ENV_ID',
      PACKAGE_PUBLIC_URL: 'BUILD_PACKAGE_PUBLIC_URL',
    },
  },

} as IConfig;
